﻿@model IEnumerable<CleverCMS.Blog.Data.Entities.BlogEntryCategory>

<div class="blog-side-bar blue-box">
    <h2><i class=" icon-tasks"></i>category</h2>
    <ul>
        @foreach (var category in Model.OrderBy(x => x.CategoryName))
        {
            <li>
                <a href="@Url.RouteUrl("blog_category", new { Category = category.Alias.ToLower() })">
                    <i class="icon-@category.Picture"></i>
                    <span>@category.CategoryName</span>
                </a>
            </li>
        } 
    </ul>
</div>





